package com.pc.controller;

import com.pc.enrty.User;
import com.pc.service.FoodService;
import com.pc.util.ResultObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/food/")
public class FoodController {
    @Autowired
    private FoodService foodService;
    @Autowired
    private ResultObject result;

    /**
     * 商品列表
     * @return
     */
    @RequestMapping("show")
    public ResultObject showFood(User user){
        return result;
    }
}
